export enum ServiceUrl {
  LOGIN = 'login',
  USERS = 'users/',
  USER_MENU = 'role/'
}

export interface IAccount {
  name: string
  password: string
}

// 方便登陆时候做校验
export interface ILoginDataType {
  id: number
  name: string
  token: string
}

export interface IDataType<T = any> {
  response?: any
  code: number
  data: T
}
